package cn.cjxy.mapper;

import cn.cjxy.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    public List<User> findAll();
    User findById(int id);
    int insert(User user);

    void delete(Integer id);
}
